<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<meta name="keyword" content="单车安全帽，单车帽，脚踏车安全帽，单车头盔，自行车头盔">
	<meta name="description" content="专业自行车安全帽品牌KPLUS-以提升骑乘安全为本，致力于创新高品质的先进工艺设计。">
	<meta property="og:title" content="KPLUS-专业自行车安全帽品牌：专为亚洲人头型所设计的自行车安全帽，单车安全帽，脚踏车安全帽。">
	<meta property="og:url" content="http://www.kplus-helmet.com/">
	<meta property="og:image" content="http://www.kplus-helmet.com/etc/media/images/fb_share.jpg">
	<meta property="og:site_name" content="KPLUS-专业自行车安全帽品牌：专为亚洲人头型所设计的自行车安全帽，单车安全帽，脚踏车安全帽。">
	<meta property="og:description" content="专业自行车安全帽品牌KPLUS-以提升骑乘安全为本，致力于创新高品质的先进工艺设计。">
	<meta name="google-site-verification" content="f63hofZjqQioZww3XG41yZoxVudN4jRFUkrW8pvjY_I">
	<title>KPLUS-HELMET 官方网站</title>
	<link rel="stylesheet" type="text/css" href="../build/css/iconfont/iconfont.css">
	<link rel="stylesheet" type="text/css" href="../build/css/common.css">
	<link rel="stylesheet" type="text/css" href="../build/css/animate.css">
	<link rel="stylesheet" type="text/css" href="../vendor/owlcarousel/assets/owl.carousel.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="../vendor/owlcarousel/assets/owl.theme.default.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="../build/css/user_info.css">
</head>
<body>
<!--顶部导航条-->
<div class="nav_bar">
	<div class="nav fl">
		<a href="product_wall.html">骑行头盔</a>
		<a href="javascript:;">配件系列</a>
		<a href="javascript:;">客制服务</a>
		<a href="javascript:;">KPLUS SELECTION</a>
	</div>
	<div class="kplus_logo fl">
		<a href="../index.html" target="_blank">
			<img src="http://test.agcoo.cn/icon/kplus_logo.jpg">
		</a>
	</div>
	<div class="menu fr">
		<a href="login.html"><i class="iconfont icon-iconfontfuka"></i>会员登录/注册</a>
		<a href="user_cart.html"><i class="iconfont icon-gouwuche1"></i>购物车</a>
		<a href="javascript:;"><i class="iconfont icon-diqiu"></i>繁体中文</a>
	</div>
</div>

<!--信息栏-->
<div class="body_box">
	<div class="member_status fl">
		<div class="title">
			<h1 class="en_title fz30 fstyle_TradeGothicLT">MEMBER STATUS</h1>
			<span class="ch_title ds_bl fz26">会员状态</span>
		</div>
		<div class="slc_list">
			<ul>
				<li class="item fz24 active" id="memberInfo">查看会员资料</li>
				<li class="item fz24" id="changeMemberInfo">修改会员资料</li>
				<li class="item fz24" id="changePwd">修改密码</li>
				<li class="item fz24" id="queryPN">查询产品序号</li>
				<li class="item fz24" id="queryOrder">查询订单/购买记录</li>
			</ul>
		</div>
		<div class="loading_bar">
			<img src="http://test.agcoo.cn/icon/loading_bar.png">
		</div>
	</div>
	<div class="member_info fl">
		<div class="welcome">
			<div class="row fz26">亲爱的会员<strong id="userName"></strong>您好！</div>
			<div class="row fz26">您的会员状态如下</div>
		</div>
		<div class="user_info">
			<p><label>会员级别：</label><span id="vipLv">普通会员</span></p>
			<p><label>会员级加入日期：</label><span id="joinMemberTime"></span></p>
			<p><label>VIP会员到期日期：</label><span id="expiredTime"></span></p>
			<p><label>会员积累：积累额度</label><span id="addCount"></span ></p>
		</div>
		<div class="member_rights">
			<h3>会员权利说明</h3>
			<p class="paragraph">
				1.欢迎您加入KPLUS网站会员，在您注册成功为KPLUS会员<br />
				后，您可以享有会员独家好礼，及收到不定期的促销活动及购买<br />
				商品折扣优惠。
			</p>
			<p class="paragraph">
				2.成为VIP会员资格：2年内累计消费金额达到$6,000元，即可从一<br />
				般会员晋升成为VIP会员。成为VIP会员后可享有VIP专属独家好礼<br />
				及管网全站不限商品消费9折优惠（可与其他促销优惠活动并用）。
			</p>
			<p class="paragraph">
				3.延续VIP会员资格：VIP会员资格期限为1年，成为VIP会员后1年<br />
				内累计消费满$2,000元即可自动延续VIP资格1年，往后相关资格延<br />
				续请以此类推。
			</p>
		</div>
	</div>
	<div class="coupon fl">
		<img src="http://test.agcoo.cn/img/coupon.png">
	</div>
	<div class="clearfix"></div>


	<!--蒙版层-->
	<div class="model_box ds_none" id="modelBox">
		
		<!--会员资料-->
		<div class="info_box kp_box_shadow ds_none" id="changeMemberInfoBox">
			<h3 class="title fz18">
				Member personal information
				<span class="sub_title fz28">会员基本资料</span>
			</h3>
			<p class="kp_note">请填写完整资料，以获取更多会员优惠</p>
			<div class="info_from">
				<span class="row">
					<input type="text" name="user_name" placeholder="昵称" id="">
				</span>
				<span class="row">
					<input type="email" name="email" placeholder="邮箱" id="">
				</span>
				<span class="row">
					<input type="text" name="phone" placeholder="联系电话" id="">
				</span>
				<span class="row">
					<input type="text" name="address" placeholder="联络地址" id="">
				</span>
				<span class="row">
					<input type="text" name="address" placeholder="会员生日" id="layData">
				</span>
				<a class="btn kp_btn confirm_btn" id="confirmStorageUserInfo">确认/储存</a>
			</div>
		</div>
		
		<!--修改密码 邮箱-->
		<div class="info_box kp_box_shadow ds_none" id="changePwdBoxEmail">
			<h3 class="title fz18">
				Change Password
				<span class="sub_title fz28">使用邮箱修改密码
					<a href="javascript:;" id="" class="sub_title_note">使用短信修改<i class="iconfont icon-57"></i></a>
				</span>
			</h3>
			<p class="kp_note">修改后系统将重新寄发认证信息至邮箱</p>
			<div class="info_from">
				<span class="row">
					<input type="password" name="" placeholder="*输入旧密码" id="">
				</span>
				<span class="row">
					<input type="password" name="" placeholder="*输入新密码" id="">
				</span>
				<span class="row">
					<input type="password" name="" placeholder="*确认新密码" id="">
				</span>
				<a class="btn kp_btn confirm_btn" id="">确认/修改</a>
			</div>
		</div>

		<!--修改密码 短信-->
		<div class="info_box kp_box_shadow ds_none" id="changePwdBoxPhone">
			<h3 class="title fz18">
				Change Password
				<span class="sub_title fz28">使用手机短信修改密码
					<a href="javascript:;" id="" class="sub_title_note">使用邮箱修改<i class="iconfont icon-57"></i></a>
				</span>
			</h3>
			<p class="kp_note">修改后系统将重新寄发认证信息至手机</p>
			<div class="info_from">
				<span class="row">
					<input type="password" name="" placeholder="*输入旧密码" id="">
				</span>
				<span class="row">
					<input type="password" name="" placeholder="*输入新密码" id="">
				</span>
				<span class="row">
					<input type="password" name="" placeholder="*确认新密码" id="">
				</span>
				<a class="btn kp_btn confirm_btn" id="">确认/修改</a>
			</div>
		</div>
		
		<!--查询产品序列号-->
		<div class="info_box kp_box_shadow ds_none" id="queryPNBox">
			<h3 class="title fz18">
				Enter Product Serial Number
			</h3>
			<p class="kp_note">请输入产品包装上的序号 领取更完整的服务！</p>
			<div class="info_from">
				<span class="row">
					<input type="text" name="" placeholder="产品序列号（例ABCD123456）" id="">
				</span>
				<span class="row inner_row">
					<img src="https://kyfw.12306.cn/otn/passcodeNew/getPassCodeNew?module=other&rand=sjrand" alt="验证码" class="v_code_img">
					<a href="javascript:;" class="rel_vcode">重新产生</a>
				</span>
				<span class="row inner_row">
					<input type="text" name="vCode" id="vCode" placeholder="请输入图片验证码">
					<a href="" class="btn kp_btn confirm_btn sm_btn">确认/送出</a>
				</span>
			</div>
		</div>
		
		<!--查询订单-->
		<div class="info_box purchase_box ds_none" id="queryOrderBox">
			<h3 class="title fz18">
				Purchase History
				<span class="sub_title fz28">会员购买记录</span>
			</h3>
			<div class="table_box">
				<div class="table_head">
					<span class="item">订单编号</span>
					<span class="item">订单日期</span>
					<span class="item">订单金额</span>
					<span class="item">订单状态</span>
					<span class="item">物流单号</span>
					<div class="page_turning fr">
						<span class="prev">
							<i class="iconfont icon-left"></i>
						</span>
						<span data-page="1" class="active">1</span>
						<span data-page="2">2</span>
						<span data-page="2">3</span> 
						<span class="next active">
							<i class="iconfont icon-right"></i>
						</span>
					</div>
				</div>
				<div class="table_body" style="height: 650px;">

				</div>	
			</div>

				
		</div>	





		<!--关闭按钮-->
		<div class="close_btn" id="closeBtn">
			<i class="iconfont icon-iconfontcha"></i>
		</div>
	</div>


</div>
	






<div class="footer">
	<div class="inner_box">
		<div class="list_links fl fstyle_TradeGothicLT">
			<ul class="link_item">
				<li class="title">ABOUT KPLUS</li>
				<li><a href="">品牌理念</a></li>
				<li><a href="">PLUS IN</a></li>
				<li><a href="">最新消息</a></li>
				<li><a href="">玩家见证</a></li>
			</ul>
			<ul class="link_item">
				<li class="title">GET HELP</li>
				<li><a href="">出货与寄送</a></li>
				<li><a href="">退换货处理</a></li>
				<li><a href="">会员机制</a></li>
				<li><a href="">问与答</a></li>
				<li><a href="">尺寸表</a></li>
			</ul>
			<ul class="link_item">
				<li class="title">CONUACT US</li>
				<li><a href="">联络我们</a></li>
				<li><a href="">销售据点</a></li>
			</ul>
		</div>
		<div class="sign_news_box fl fstyle_TradeGothicLT">
			<h3 >订阅我们获得最新消息</h3>
			<span class="sub_title">SING UP FOR KPLUS NEWS</span>
			<form class="">
				<label>
					<input type="text" style="display:none" />
					<input type="text" name="email" id="address" placeholder="Email Address" class="fl">
				</label>
				<label>
					<input type="button" name="button" class="btn fl" id="signUp" value="SUBSCRIBE">
				</label>
			</form>
		</div>
		<div class="friend_links fl">
			<div class="share_box">
				<a href="" class="icon"><i class="iconfont icon-instargam"></i></a>
				<a href="" class="icon"><i class="iconfont icon-facebookf"></i></a>
			</div>
			<span class="copy_right"><i class="iconfont icon-ic_copyright_px"></i> KPLUS 2017</span>
		</div>
	</div>
</div>
<script type="text/javascript" src="../vendor/jquery-1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="../vendor/laydate/laydate.js"></script>
<script type="text/javascript" src="../build/js/common.js"></script>
<script type="text/javascript">
	//日期选择器渲染
	laydate.render({
		elem:'#layData'
	});
    //进入拉取会员信息
    getUserInformation();
	/*
		页面功能实现
	*/
	var memberInfo = $('#memberInfo');
	var changeMemberInfoBtn = $('#changeMemberInfo');
	var changePwdBtn =  $('#changePwd');
	var queryPNBtn = $('#queryPN');
	var queryOrderBtn = $('#queryOrder');
	var modelBox = $('#modelBox');
	var changeMemberInfoBox = $('#changeMemberInfoBox');
	var changePwdBoxEmail = $('#changePwdBoxEmail');
	var changePwdBoxPhone = $('#changePwdBoxPhone');
	var queryPNBox = $('#queryPNBox');
	var queryOrderBox = $('#queryOrderBox');

	var closeBtn = $('#closeBtn');

	changeMemberInfoBtn.on('click', function(){
		$(this).addClass('active').siblings().removeClass('active');
		modelBox.removeClass('ds_none');
		changeMemberInfoBox.removeClass('ds_none');
	});
	changePwdBtn.on('click', function(){
		$(this).addClass('active').siblings().removeClass('active');
		modelBox.removeClass('ds_none');
		changePwdBoxEmail.removeClass('ds_none');
	});
	queryPNBtn.on('click', function(){
		$(this).addClass('active').siblings().removeClass('active');
		modelBox.removeClass('ds_none');
		queryPNBox.removeClass('ds_none');
	});
	//查询订单
	queryOrderBtn.on('click', function(){
		$(this).addClass('active').siblings().removeClass('active');
		modelBox.removeClass('ds_none');
		queryOrderBox.removeClass('ds_none');

		getUserOrder()

	});
	//关闭弹出框
	closeBtn.on('click', function(){
		modelBox.addClass('ds_none');
		modelBox.find('.info_box').addClass('ds_none');
		memberInfo.addClass('active').siblings().removeClass('active');
	});

	//订单详情展示
	$('#queryOrderBox .table_body').on('click', '.row', function(){
		var orderId = $(this).attr('data-pcode');
		//展开后回点 收起
		
		if( $(this).find('.order_detail').attr('data-orderid') ){
			console.log($(this).find('.order_detail'));
			$(this).find('.order_detail').remove();
			return false;
		}

		$(this).addClass('active').siblings().removeClass('active');
		var copy = $('.order_detail[data-orderid="'+orderId+'"]').clone();
		$(this).append( copy.removeClass('ds_none') );
	})



</script>
</body> 
</html>